The court could very well take into consideration your relationship with another person in deciding issues pertaining to the custody battle that you have with your husband. The reason is that the court will take into consideration the potential effect of this other person on your children's lives if this person actually ends up co-habitating with you.I do not know the facts of the dispute that you have with your husband as to get primary physical custody of your children.