You (or your lawyer) are supposed to tell the trustee of any money/asset received. You might get to keep it in some situations: You can keep your exempt property and anything you obtain after the bankruptcy is filed. However, if you receive an inheritance, a property settlement, or life insurance benefits within 180 days after filing for bankruptcy, that money or property may have to be paid to your creditors if the property or money is not exempt.
You might want to mention your inheritance to your bankruptcy lawyer.

