I have never come across a case where the validity of an NOC was tested. It has been more than a year since your husband secured No Objection from his then employer. Visas need renewal after a year so I doubt NOC can remain valid for this long. Under normal circumstances NOC is a detach and attach document without a time delay as in your case. I can think of 3 reasons behind this issue.

1. The visa that was detached from your husband was allowed to expire without a name change.
2. The validity of the NOC expired.
3. Your prospective employer wants to avoid the hassle after your case was understood because your husband is not here and this employer will have to coordinate with your then employer to get the visa in your name.

The best would be to speak to the employer directly to know the exact reason. Or apply to a different employer to confirm if you have been banned for 2 years.