Jesus told her:

‘You are right in saying, “I have no husband”; for you have had five husbands, and the one you have now is not your husband. 

So she was living with one as a husband who is clearly not her husband.