Lachlan
En-Route
I think the way to avoid that problem is to unlock your car, then put the keys somewhere far away and reasonably inaccessible so that you could make the case that you did not have the ability to start or drive the car before you go back to sleep in the vehicle.
Much easier all around to not be an ass-hat that gets kicked out of the house snd has to sleep in the car, doncha think? Call me a good husband if you must, but that seems like a far better way “to avoid that problem.”