That seems like a metaphor to me. I would say that when you on the back of a submarine , far out at sea, then you're lost, you're doomed, nobody can help you anymore. I'd assume that he thinks that sleeping in the parking lot is very dangerous but I can't make the connection between the parking lot and the submarine.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.