That's not specific to cats, I don't think. I know elephants, wolves, and dolphins all have good memories for the people who are kind to them. There was even a story about a deer who would return to the home of the man who rescued her.