Can’t find a hotel within your budget? Don’t like camping? Sleeping in your car generally is not illegal. However, there may be local laws such as city ordinances that do not allow it. Its always best to check local/state ordinaces before catching a snooze in your ride.