Chapter 7 bankruptcy is possible after retirement and retirement assets are protected up to one million dollars. People sometimes struggle with debt after retirement and bankruptcy is one possibility.
You can file a Chapter 7 bankruptcy whenever you like. The problem is that if your creditors can show that you are doing so fraudulently, or that you are voluntarily not working, then it will be dismissed. Also, you could lose any retirement savings.