I'm in CA and am contemplating divorce after 7 years, but my wife is on visa. We have a 2 yr old kid who is a citizen. I make 200k and she makes 100k. If we divorce, she'll be out of status and will have to leave the country. In that case, will the court calculate the alimony I will owe based on her earning potential going forward which in US, will be 0? Also, what'll happen to child custody? Will I get it? It can't be shared anymore in that case.

Really lost here and any help is appreciated. I should ask this to a lawyer, but all our money accounts are shared, so she'll know I am talking to a lawyer. I don't want to break the news until I know what i'm getting myself into.