She has to contest the divorce case filed by the husband informing the true facts that even though the husband is living with the joint family, he is misleading the court by showing his address different from where he actually residing. In the domestic violence case, she can ask for shared household. Regarding custody, two facts will be determinent - the welfare of the child and child's preference to whom it wants to live, if the child is in a position to clearly express her choice,