That's not how flash storage works. You can unplug a flash drive and put it on a shelf and it will keep its data. Here's a review of portable, external SSDs that don't lose their data when not plugged in:
* https://www.tomshardware.com/reviews/best-external-hard-driv...
Are you thinking of DRAM perhaps?
Could not the same be said of the magnetism of the bits on spinning rust? What's the shelf life of data on an HDD?
Tapes also have magnetic charge, but are designed to be "unrefreshed" for longer periods of time.
Flash has a better insulator than DRAM, but it wears out with use and leaks more with higher temperature, densities, less margin with more bits per cell...
The fact that the SSD controller has to do anything at all to read data that was stored only a year ago is a hint that data retention on a SSD requires some (powered) effort.
- a switch from storing charge in a conductive floating gate structure to storing charge in a non-conductive charge trap layer (Intel's flash is the one holdout here)
- a switch from planar to 3D fabrication, allowing a huge one-time increase in memory cell volume and thus the number of electrons used to represent each bit, and also opening up avenues of scaling capacity that don't require reducing cell volume
- dedicating far more transistors to error correction in SSD controllers, greatly reducing the performance impact of correctable bit errors but also enabling the use of more robust error correction codes
Please see [1] for one source.
[1] https://www.ibm.com/support/pages/flash-data-retention-0
Additionally, lightly-used flash has error rates that are orders of magnitude smaller than flash that has reached or is approaching its write endurance limit. Which is why an archive-only SSD can very reasonably be expected to provide unpowered data retention far in excess of one year.
[1] For enterprise drives, the specified duration is shorter but the storage temperature is higher. The warrantied write endurance is also typically higher, so those drives are willing to take their flash to a more thoroughly worn-out state.