Rangers, by virtue of their nature bond, actually gain the ability to call back the spirit and life of an animal companion they have bonded with; it's part of the class description. So, if you bonded scratch, you would be able to call him back to life, as long as he remained your bonded companion.
Where did you get this? According to the beastmaster rules, if the animal dies, you need to spend 8 hours to bond with a new one. You don't rez the one that died.