You have to leave the terminals after the last flight lands, until security opens in the morning. You can wait in the other parts of the airport overnight though.
You can wait, but yes everything is closed. There are hotels, diners, a gas station 'nearby', but yeah it shuts down.
Thanks! Your answer is awaiting moderation.