Depends on where you're coming from. If you accept the scientific approach that memory ia actually a series of electrical signals in the brain, once the brain no longer encompasses the ability to maintain these signals, the memory is gone.
If you accept the independent existence of memory, than yes, it remains somewhere even after death.