It might be OK at room temperature for a day, but if you want to store leftover casserole longer than that, you should place it in an airtight container and refrigerate it.