A prenuptial agreement would safeguard you more than attempting to hide money overseas. Another safeguard would be to marry a person who wouldn't be eligible for alimony due to preexisting income.
I consider this sort of optimization to be an inaccurate threat model, focused on outliers rather than the expected case. The expected case in California or any other state would be that the marriage would survive if not flourish (the most common case for upper-middle-class marriages), with a contingency that a divorce would occur amicably (the second-most common case). Screening for contentious attitudes is part of the due diligence of dating.
(only on HN would I ever expect to post something like this instead of the common-sense "find the right spouse and work on your marriage and you won't have to worry about this issue")