Only healers trying to rez other players have to be in range.
Your pet can die in Mechanar, while you hearth to Ashenvale or somewhere and he pops to life right next to you.
It's strange, the way your pet follows you so fast, even when dead or stabled.