Dating someone who is separated and affect on custody

I am dating my former paramour, who is separated but not yet legally divorced. Would this have any negative impact on me in a custody trial?

That will depend on the specific facts of your case, but it is probably not the best idea.