Who can file chapter 7 bankruptcy?

If you are a resident of California and you qualify under the means test you can file for chapter 7 bankruptcy. In addition you were not granted a chapter 7 discharged within the last six years and your bankruptcy has not been dismissed within 180 days from the date of filing.