Sadly, you won't be able to bed down right in San Pedro Airport (SPR). However, you'll surely find a great place if you look a little further afield.
If you were wanting to stay just minutes from the terminal doors, you'll need to make other plans. But there's no need to stress out. The Royal Palm Island Resort is an excellent option that's further out. If you book a room here, be sure to plan out your route to reach the airport in time.