Uncut raw yellow squash will stay fresh in the refrigerator for 4-5 days. Winter squashes tend to be a far better option for long-term storage. You can keep cured winter squash for 2-6 months at a cool temperature (55-60F/13-15.5C).