You'll have to take and pass the means test. This test will check your income, expenses and your assets. This info helps find out if you have any income to pay off your debts. Jack Lazarus can help you with this form.
Another requirement is that you cannot have filed and completed Chapter 7 Bankruptcy in the past 8 years.
If you have filed for bankruptcy in the last 180 days you will not qualify.