Why will a 2001 VW Passat not turn over?

I heard that if you leave the keys in the ignition even if you turn the automobile off it will kill the battery. It's a habit some people have, I don't know if it applies here or not.