My question involves bankruptcy in the state of: Minnesota

I have a lease who's payments compounded with hospital bills/debt have made living difficult. I have done stage one of getting credit counseling along with the certificate. I have not actually filed for chapter 7 as I have yet to acquire an attorney. I have the potential of being forced into the streets within the next couple months with current state and momentum of things.

Now to the point: I intend to voluntarily surrender the lease, however; I do not know the time frame in which this needs to takes place. Do I before I file and the automatic stay is put into place or do I wait and do it after. My concern here is it may be forcibly surrendered (AKA: Repossessed) and that would leave me without an immediate means of transportation thus exacerbating my already unfavorable situation.