Where are legal places to park and sleep?

in my SUV when traveling or living on the road?( this includes inner city areas mostly,NOT along the trip or on highway rest passes)
Update: i always see moble homes and big ol SUVs in walmart parking lots or mall lots,why is that? Do you think all 24 hrs. places are as leniant?
4 answers 4