Still is a little tricky to define in space, but assuming it isn't near enough any other object to feel its gravity it will just stay there. Until you use its engines.
Rocket engines don't need anything to push against, throwing the exhaust out of the back it what pushes it forward. Think of it as like the recoil of a gun when you fire a bullet behind you