For application of I-485, your hu*****and needs to prepare I-864, Affidavit of Support. In that form, it shows how much your family income is, which should be greater than the poverty standard, about less than 20k per year, and if your hu*****and would like to sponsor you for green card application since you are his dependence. No matter if you have income, your hu*****and has to fill and sign that form since he is principal applicant. You also need to submit a copy of tax form of your family for the past 3 years for evidence. Therefore, all you have to do is to keep your legal status in USA, B-2, F-1, H-1, H-4, whatever. If you can make money legally, it is great for your family, really a plus for your hu*****and.