No, vehicles only allow you to travel around on a planet (some allow you to get to the atmosphere layer).
If you want to leave the planet, you need to get access to a ship (either by buying one yourself which is unlikely in the beginning, or by getting one assigned from a faction or a friend).