Yes, there are many hotels near the airports of Chicago where you can stay for the night or for a few hours if you have an early morning or late night flight.