The government generally does not check your or your husband's finances when you both file the petition to remove conditions or when he files his application for naturalization. So, the immigration services would not know about the filing of the bankruptcy petition. In any case, the immigration services generally have no reason to care that an applicant had filed a bankruptcy petition.
The immigration services would care about the filing of the bankruptcy petition if the underlying facts of that petition adversely implicate the moral character of the applicant. For example, if the applicant borrowed money to gamble in casinos and filed bankruptcy to discharge the gambling debts, the immigration services likely would find that the applicant does not have good moral character.
The immigration services also would care about an applicant's finances if there are indications that the applicant is involved in unlawful activities (such as being involved with illegal drugs, prostitution, gambling, etc.).
Filing bankruptcy will not discharge whatever obligations you may have through the affidavit of support.
You both should review the specific facts with your attorneys to see what your legal options are.
I do not believe that this will be a problem. The Removal of Conditions application is looking for the bonafides of the marriage not financial issues.
Andre Olivie, Esq.
Seattle Immigration Lawyer
Legal disclaimer: This answer is offered for informational purposes only. It is not offered as, and does not constitute, legal advice. Do not rely on this advice without speaking to an immigration attorney in detail about your case. This message does not create an attorney-client relationship.