It depends. Many WalMarts do allow overnight parking, and often you'll see campervans and RVs lined up all over the parking lot. However, some WalMarts don't allow sleeping in your car. The best thing to do is call the WalMart before you stop for the night. You can also use an app like iOverlander to see where other people have spent the night in their vehicles.