If one parent claims a child as dependent can the other parent file for EIC? Parents aren't married or live together.

Can one parent file for EIC for a child if the other parent used him as a dependent.  Parents are not married and do not live together.  They both have shared custody.