Yes, the vaccine is generally safe for pregnant or nursing dogs. However, it's advisable to consult with your veterinarian for specific advice based on your dog's health.