It's most likely your battery. When you let the weak battery sit for a while, the battery voltage drops. Then when you hit the starter, it drops enough that there isn't enough to keep the clock and trip computer memory set.
A new battery will likely solve your problem, and a Battery Tender will keep your new battery in top shape, so it won't happen again.
