Of course. The Upper East Side has a number of places to grab an after work (and/or an after after work) drink. There's Irish pubs, places with the game on, friendly enough holes in the wall, as well as more than a few hotel bars that offer its patrons a hearty helping of swankiness.
But sometimes it's late, and rather than having a drink, you'd prefer to tune up for the rest of the evening's work, and spring for a coffee. This is how all-nighters are pulled. While popping into your local bodega for a quick fix may do the trick, if you'd like to venture a bit off of the beaten path, consider Via Quadrano. It's no secret that they take pride in their espresso, as their website reads, "Known For Our Unforgettable Cappucinos and Paninis in NYC."
No matter the time of day, they serve excellent coffee. And if you pop in a bit later, whether you'll find a seat for dinner or decide to soiree for a few minutes near and around the coffee bar, you won't be disappointed.