I've never seen that issue come up. Life's circumstances often require people to leave jobs for various reasons, and moving somewhere to be with your future spouse would not constitute bad faith in my opinion.
Are you certain you can't file for Bankruptcy while still physically here and employed? If possible, why not take care of your business here before you leave the States instead of having to deal with, residency issues, traveling back to States for Trustee meeting, retaining and communicating with your attorney from abroad. Talk to a local bankruptcy attorney about your circumstances and see what they think could work for you.
Generally, the purpose of your financial woes are not an issue. However, if you are capable of paying your creditors and just decide that you would rather not pay them a lack good faith argument may be hinder your Chapter 7 case. There is not enough information in your post to make that determination. The considerations would include your current income, type of debt, age of the debt and total amount.
Often, people believe they can't file Chapter 7 because of their income. Having an income above the mean creates a presumption of abuse. However, people can often overcome that presumption with an experienced attorney.
I hope this helps.
Steven A. Leahy
Please note that the above is not intended as legal advice, it is for educational purposes only. No attorney-client relationship is created or is intended to be created hereby. You should contact a local attorney to discuss and to obtain legal advice.