See Data Retention.
In a non-volatile memory, data retention is the amount of time the data that is stored in memory will retain its value without any power supply.
In Non-Volatile memories, data retention is measured in years and depends on the temperature.