As others have mentioned, you can certainly get to Yellowstone in 5 days, but without knowing any other details about your plans, it's hard to say if that's "good."
At the very least, how much time do you have for your entire trip? How much time are you thinking of spending in Yellowstone itself? Are you thinking of going anywhere else after Yellowstone?