If you could drive your car straight up at 95km/h (60mph), you would arrive in space in just a little over one hour.
To get to the Moon would take a little longer though, since it’s 400,000km (250,000 miles) away – driving around the Earth ten times – just under six months. Your only real problem (apart from having no oxygen for your lungs and for burning the petrol) would be finding a petrol station – and a place that has a bathroom!