The zombies in the Return of the Living Dead series retain their full memories as of their time of death, whether or not they were reanimated immediately or after long interment.
Romero's Zombies initially lack full cognitive function and act only on a single drive: the need to seek and consume living flesh.