The idea is that you are in the car and capable of driving it, even if you're not in the driver's seat yet. According to the urban legend, the trick is to get rid of your keys if you need to sleep in the car while drunk (i.e., swap keys with a friend who's in a different car), since you can then argue that you did not have the ability to drive the car.
[1] http://www.rencherlawgroup.com/Practice-Areas/DUI-Defense/Pa...
Disclaimer: I'm not a lawyer. I never tested this. Do NOT drive drunken!
To be honest just be sensible. Use parking lots, lay-bys, and quiet roads, oh and have a couple. In the morning you are driving again!
Most places aren't too bothered about you sleeping over night (and will state if they are on the parking lots). What they dislike is you staying in the same spot. Not an issue if you are driving to work in the morning. ;)
I'm just amused at the idea of keeping a bottle of around for emergency legal compliance.