Kewl, I don't know where this nurse was coming from; but I do know that (as a very longtime member of code teams) the patients' nurse NEEDS to be there during a code-- at least in all of the places I've worked in the past 28 years in this field! And a few of those places were teaching hospitals, too! I have no idea what kind of nurse she thought she was, but she was lacking brains, sensitivity, tact, and a whole lot more. I'd report her and write her up.
Our hospital has mini evals of how the code went immediately after (these are very informal- kind of on the run type of things); but I know her attitude would be written in there on our eval.
It sounds like this was a tough one for you, she didn't have to dump on you afterwards. She does not belong on a code "TEAM" with that kind of attitude. Take care of yourself (and not just with beer!