It looked like a storm was coming, so I wanted to close the windows in advance.
You should make reservations in advance.
His girlfriend was coming, so he cleaned the house in advance.
A: It's a very popular hotel. Are you sure you can get in?
B: Don't worry. I booked a room three months in advance.