Yes. For
divorced or separated parents, dependency and residency can be two separate
issues.
It
is not uncommon for you, the custodial parent (the one the child spends more than
half the year with), to claim Head of Household and potential credits (EIC,
Child Care) while the non-custodial parent claims the dependency exemption.