Can I claim my daughter as my dependent if my ex has her on their insurance?

I pay for most of the daycare cost as well. Who can files head of household? If we are separate but my daughter is on their insurance.?