I don't think this would ever be a good idea, but it would certainly be much more difficult today in the computer age.
"While in the past a paper trail might be hidden by a second set of books or the shredding of documents, the trail left by files on a computer is etched onto a hard drive somewhere, just waiting to be discovered," says Ken Altshuler, president of the American Academy of Matrimonial Lawyers.
Hiding Money From a Spouse Gets Harder - MarketWatch