Do You Have to Go to Court for Bankruptcy?

Should I file bankruptcy if I’m going to be moving overseas?