Once money is out of the retirement account it is vulnerable to process and is a non-exempt asset (i.e. subject to claims of creditors). I'd recommend keeping it in the account until the bankruptcy is completed (as retirement account assets are generally protected from bankruptcy).