That's probably illegal. To the best of my knowledge, your husband's former employer can give him certain benefits, or could pay him a cash stipend that would be taxable, but can't give you a tax-free benefit.
How is the contribution being reported. Does your husband get a W-2 from his former employer?
Are you enrolled in a qualifying HDHP and have no other medical coverage, so you are eligible to make HSA contributions?