It depends on the specific product formulation. Ivermectin is generally considered safe for use in cattle, including pregnant cows, but you should always follow the manufacturer's instructions. Some formulations, such as Ivomec Pour-On or Ivomec Injection, are approved for use in pregnant cows, while others may have restrictions.
Read the product label carefully and consult a veterinarian if you have questions about using ivermectin in bred cows.