Information from the cruise line - on their website, in the brochure, etc. - will recommend that passengers not book return flights less than X hours following debarkation. You'd probably want to find something around eleven-noon (not sooner), to give you time to get off the ship, claim your luggage, and get to the airport with the recommended interval before your flight.