Can I claim my son on taxes if my ex has him on market place insurance? (this year is my turn to claim the dependent on taxes).

according to our divorce agreement, each parent will claim the child every other year, we have 50/50 custody, my ex has marketplace insurance for our son and himself, I have a private insurance