According to the Supreme Court, in a recent case involving the Bankruptcy Code’s exemption for retirement funds, a retirement account is not a retirement account if it is an inherited IRA and the owner is bankrupt.
Typically, when a person files for bankruptcy, funds they set aside for retirement can be exempt from the estate.