According to the National Center for Home Food Preservation, cool and dark places are preferred to can food in. This can help food stays fresh for up to 18 months. Time is of the essence when it comes to food quality; the longer it sits, the more its condition will deteriorate. Make sure to sort the Mason jars by expiration date and inspect the seal on each one to make sure the contents are in acceptable condition.