Yes is the answer in most situations, but do not panic.
This is a more complicated question.
The answer depends on what chapter of bankruptcy you are filing and if you are keeping the collateral and if are you making the creditor whole.
In most cases if a creditor does not receive the benefit of their bargain with you and the co-signer, in other words the amount borrow with the contract rate of interest then they can pursue the co-signer for the difference.
This is the kind of question that is best answered by an experienced bankruptcy attorney during a consultation and when all the facts are available.