The law says where you have lived for most of the past six months.

You will probably want to contact a bankruptcy lawyer to help you with the bk - with the new laws that were eff. in 2005, it is kind of involved to file on your own. They can also answer any questions you might have.