One of the rulings set out in the Canons at the first Council of Nicea was that members of the clergy ought to not have women living with them other than their mothers, sisters, aunts (etc):
"The great Synod has stringently forbidden any bishop, presbyter, deacon, or any one of the clergy whatever, to have a subintroducta dwelling with him, except only a mother, or sister, or aunt, or such persons only as are beyond all suspicion." - Canon 3, Council of Nicea
A subintroducta was a non-married, often virgin woman. Note that this doesn't exclude the wives of deacons, presbyters, or bishops since a subintroducta would be, by definition, a woman living with a man in a non-sexual relationship; the reason for this canon was to avoid scandal.
It's not a terrible idea to have ways of keeping our pastors and people whose work in the Church accountable and to not let them be in a position where they may take advantage of it. I think the idea of a man, married or not, avoiding women entirely to be kind of silly; we should ordinarily expect adults to behave themselves and control themselves and their urges--both men and women, and not treat them like children or uncontrollable horny teenagers.
As such, as it pertains to ordinary lay persons, if a church attempted to force such a practice it would be incredibly wrong and authoritarian to do so; as a means of discipline on our clergy the 3rd Canon of Nicea still seems like a good practical matter so as to avoid even the appearance of impropriety or scandal, though I believe rather than straight fiat there should be discernment and practical discretion emphasized.
At the end of the day our chief concern ought to be the right treatment of others, and not establishing rules for the sake of rules. Ecclesiastical disciplines ought to exist to serve and support the Faithful, not control or lord over the Faithful.
-CryptoLutheran