Thankfully, canonist Ed Peters refutes this concept But I wonder what this priest was thinking. Having the person who many of your sins may involve be listening while you confess? One of the requirements of confession is to confess your sins completely, no withholding, and this would seem to stand in the way of that.
Not that I am saying men hide things from their wives, but imagine the discussion on the ride home? "No honey, it wasn't like that!" The couple would probably have to turn around and head right back to confession.