In most cases, you can sleep in your car in a National Forest, and if you are doing it outside of a designated campground then it is referred to as dispersed camping. Sleeping in your car is just another way of setting up camp, but make sure you park in the right spot.