If their parents or family is still alive I think it's a very good idea. Then it means that the problems in a relationship aren't just between the both of you but that the parents have an ability to influence the child and stop them either through shame or action. If your wife has been dressing badly and is flirting with every guy they see, telling the parents could help, especially if the parents are conservative. If the husband has porn induced erectile dysfunction and refuses intimacy then the parents should also be told.

Nobody changes their behavior on their own. They need people to hold them accountable and they need shame. The implication is the parents are shamed for raising their child this way and then must seek to make amends. The message is "How could you have raised such a misbehaving son or daughter? Please fix this now."