Recently Divorced

We have shared custody of our children.  When filing taxes who is eligible for claiming the children?