There is no friction in space. So once a spacecraft has reached escape velocity and is outside the atmosphere, it will go on for ever without using any more fuel.
Of course, that means for a stop and a landing, it will again have to expend fuel to reduce its momentum, or rely on atmospheric braking. But for the middle part of the journey, it will continue until the universe ends, or it hits something.