What state do you live in and how long have you been married? Was it a "legal" separation?
I wouldn''t take legal advice from a friend unless he is particularly well qualified, although what he says may be true.
I know someone like you who moved here from another state and became a contractor. He conducts a strictly "cash" business, but will give you a receipt--if you pay extra for it!