Yes, you are equal to your scoundrel husband before the law.
Next time, pick a better husband and don't blame the law for your problem.