This will stay fresh in an airtight container in the refrigerator for about a week. Unlike canned versions, homemade sweetened condensed milk does not have added shelf stabilizers that give it such a long shelf-life.