This will depend largely on what state you are filing for bankruptcy in.
California has recently allowed for some exemptions when it comes to bank
account balances, but they are complex and you may not qualify for these
exemptions. If you are worried about your ability to keep the money in
your checking or savings account, speak with a bankruptcy lawyer immediately
about your situation.