This is a complicated one.
Your husband is entitled to public funds, you are not. If the council would house him if he were a single man, then there is no problem with them housing him and (with their permission) you living there. However, if the only reason you get housed is because there are two of you, then this will be deemed as you accessing public funds, and will be in breach of the terms of your visa, and may affect the ILR application.
Also, even if you are both housed, your name has to be on the tenancy, or you will need a letter from the council giving you permission to live there, otherwise there will be no indication on the ILR application that you can be legally and suitably housed.
I'm with sah - this a a Catch 22 that could come to bite you in the ars* come ILR.
Vicky