According to materialistic science any memory requires a material substrate such as the neuronal network in the brain or the DNA molecules of the genes.
Knowledge of what is does not open the door directly to what should be.