In a divorce your husband can take your child?

Yes, if he wins the custody Battle. He would have to go to court for that, though.