Section 109(a) of the Bankruptcy Code states:
Notwithstanding any other provision of this section, only a person that resides or has a domicile, a place of business, or property in the United States, or a municipality, may be a debtor under this title.
What this means is that while you do not have to be living in the United States at the time you file bankruptcy, you must have a home, business, or other property here to be able to file. If you have relocated overseas and have not left a home, business, or any property in the United States, then you probably don’t qualify for bankruptcy.