Either parent who desires to have the custody of his/her 5 year old child shall have to file a case for child custody. Divorce simply terminates the marriage. It does not decide the parental rights. If the husband does not want to divorce then he may contest the divorce petition filed by wife.