It’s the same beach as in the sentence “We stayed on the beach in Miami”. When someone says that phrase in English they mean staying in an accommodation that is located or fronted by a beach. Not that they were camping sleeping on sand dunes in a sleeping bag