Tax help for military filers

with whom does the child reside? residency, actually domicile, is the child's permanent home.