Once frozen, cooked squash can be kept in the freezer for up to three months in an airtight container. When ready to use, thaw the squash overnight in the refrigerator.