Because there are dairy products in this recipe, corn casserole should not be left out overnight. It should be refrigerated wrapped with foil or in an airtight container.