Simply said, bankruptcy stays all legal proceedings. 

Is this a ploy to avoid a divorce, a smart strategy to lower the value of assets, or simply the necessary financial decision to make at that time?  It’s different things for different people.  But yes, it is vital to know that bankruptcy will stop most actions in a divorce requiring the Bankruptcy Court to intervene to lift the stay.  A very important consideration, in my opinion, and one that you should discuss with a divorce attorney.