Who gets to claim the Child Tax Credit when the child now lives with only one parent

My ex wife and I share joint custody of our 16-year-old daughter. In the divorce decree, we agreed that our daughter would spend one week with each parent, alternating throughout the year (50/50). We also agreed that we would take turns claiming her on our taxes every other year.  But starting about a year and a half ago, our daughter began living with me full time (100% of the time). Does this mean that I can claim her as a dependent when I file my taxes, or am I still required to honor the divorce decree and allow my ex to claim her, despite the fact that I am the full time custodial parent?