It depends on if it's a busy travel time or not. Two days ago DH drve from FL to NJ. Normally he makes the drive in one day, but he had decided to pwoerwash the lanai before he left, so he wasn't on the road before 11:00. There was no way he'd make the drive straight through. He thought he could probably get to MD and stop for a two hour nap, but around Fredericksburg, VA he was getting tired and knew that even if he made it to a Maryland House, it wouldn't be as a safe driver.
I had looked online that day, and there was plenty of availability at several Hampton Inns in VA/DC/MD, so he stopped at the one in Fredericksburg and they had rooms, and that's where he spent the night.
Had it been a holiday weekend, or even a busier travel night (Friday or Saturday) he probably would have come up with a plan before he left rather than winging it.
Anne