I actually mentioned something like that in my Mercy thread
But at the same time it opens up an entire can of worms:
What happens to the cooldown of Rez? Is it refunded or does it go on a partial cooldown? Is it fair to punish the Mercy player because of someone elses choice?
At best I think if someone switched characters while dead, they should not be able to be targeted for Rez.