Each product has its own shelf life and lifespan after application.
In most cases, these have a shelf life of up to 2 years at most. The lifespan after application is often quite longer though– regularly as long as 5 years after it’s been applied to your CPU or GPU. Needless to say, it’s best you check these ahead if you’re planning to store the remaining paste and use it years later.