Please keep all your related questions in one thread. Do not post multiple questions about the same issue.
Yesterday you said that your husband is a nonresident alien. Now you refer to him as your ex-spouse. Which is it?
An ex-spouse would not appear on your tax return, so you would not need his Social Security number.