The in-game rules warn that a poorly cared-for dog will run away or die. In practice, that rarely happens — one contributor lost their save entirely, and the dog was still there when the game was recovered.
For the official word, check www.nintendogs.com.