The law here in Canada is (most likely) different, but intent to drive isn't relevant. Even having the keys probably isn't determinative.

The charge here revolves around care and control of the motor vehicle, and if you are even in reach of the parking/emergency brake, you can be convicted.

The trunk (boot) is probably safe.