If it is just a temporary work, it is okay. Otherwise, he will lose some fellowship opportunities. For instance, NRSA at NIH only grants to students with graduate degree within 5 year of graduation. Someone stays within the school as postdoc would have a hard time to get a fellowship regardless how smart he is.