Depends on the location of the store and their management. They're not running a campground but in case of emergency may take exception.
Wal-Mart has signs that says no overnight parking.
I suggest that you should ask Walmart.
Thanks! Your answer is awaiting moderation.