This is not true, we see plenty of undead going on to a happier afterlife. It's just Arthas and Sylvannas we see going to hell when they die. For example some of the mobs in EPL where their spirits are freed and ascend into the light. It's quite possible Sylvannas went to 'hell' because of her deeds and not because she was an undead.