There are several factors to consider. Coffee drinkers are less likely to have type II diabetes, Parkinsons disease, demetia and also have lower risks of certain cancers. The coffee bean itself contains chemicals which are mild psychotropics. They are there as self-defense of the plant.
Coffee has been proved to increase short term recall too. It also helps lessen brain cell damage, and help neurotransmitters function better.

However, coffee has such effects as increased heart rate, blood pressure and irregular heartbeats, which is something to consider. Though, many argue that the antioxidants widen blood vessels, making the blood pressure problem irelevant.
If you simply want to stay up and fresh throughout the day, start a basic routine, drinking more water and sleeping better. I can guarantee that these will get you started on the right track of waking up fresh every day, add in solid nutrition and look, you're losing weight too!
I suggest drinking coffee, however, only in moderate amounts, definitely not 5 cups a day. When I need to, I drink coffee spaced out throughout the day, small amounts every two or two and a half hours, and I grind my own beans too - which I suggest you do too, it is the best way to enjoy coffee, no *bucks with a half cup of cream on top of your coffee - just the real thing.
Do not forget to drink a lot of water, not underestimate sleeping properly, stop making common mistakes to become happier!