Health insurance and dependents

Super confused about this. How does it work for couples who aren’t married and live together? Does the parent who claims the child as a dependent at tax time have to have the child on their health insurance or can the other parent have the child on their insurance even if they don’t claim them at tax time?