I believe
They encounter the death star when they enter the Alderaan system so it would have been in orbit around Alderaan before it was destroyed. (grabs Anorak)
(
andythepieman Is surfing the waves of indifference on,
Wed 9 May 2012, 9:58,
archived)