The joke is a pun.  A 'last resort' is a fall back plan to take when all other options fail.  A resort is also a word for a vacation get away location, such as a beach side hotel with pools and spas. Their last resort option was also the last location on their list of resorts.
They argued about their vacation and finally stayed at the last resort .