Cooked spaghetti squash should be stored in an airtight container in the refrigerator. When stored correctly, it is good for up to 7 days.