You can let the pizza sit in the oven for a couple of hours, but it’s best not to keep it in there overnight, especially if there are more perishable toppings (like moist meats or veggies). To be safe, put the pizza in your fridge or freezer to help it keep a little longer.