To unlock the nursery, you need one of your dogs to become pregnant and eventually give birth to a litter of up to four puppies. When the birth happens, the game automatically takes you to the nursery. The catch is that once the puppies grow up, you can't revisit it until another dog has a litter.
Alternatively, some players install a fan-made add-on such as PetzA (search it as one word), which adds extra controls like instant births, forced mating, and more. If you have several Petz or Babyz titles installed, the installer will ask which game to add it to.
A word of caution from the community: avoid actions that make newborn Chinchilla Persian breedz "scream," as there's no animation for it and it can crash the game.