There is often an argument that those who have received a significant inheritance should not be in a position to require the protection of a bankruptcy petition. As we know, in life, not everything is black and white, and an inheritance is certainly not going to preclude you from filing for bankruptcy. However, inheritances themselves can be tricky, so if bankruptcy is an option, then a chat with a bankruptcy lawyer may be in order to determine how that inheritance is going to affect any bankruptcy petition.
Generally speaking, any inheritance received in the 180 days prior to filing for bankruptcy needs to be included in the bankruptcy estate.