The school where the player played that got drafted gets credit in their prestige, regardless if you are still coaching or not.
As for your own resume, if you recruit a player and coach him in his final season at the school (you can leave for another school after the season) then you will get credit for the player as well, which gives you a boost to your resume for job hiring as well as recruiting.