It depends on how the sailing is booked. If you choose the same cabin for both sailings, then, yes, you'll be able to stay. If, however, you decide you'd like to be on one side of the ship for one sailing and on the other side for the second sailing, that's also possible.