They’ll appreciate it. If they knew you were taking their names, they likely thought you were doing it so you could possibly sue them! LOL!
They’ll be pleasantly surprised.
They didn’t know I was writing down their names. I just started doing it so I’d remember them during their shifts. Then I was so pleased with their care, I thought it would be great to send them a card thanking them all!