If there is no court order regarding custody of a child who gets to claim the child on their taxes?

The parent that has the child 51% of the time even with a custody order.