*Kobe Bryant dodged a hot bullet by avoiding divorce.

Whatever he did to convince Vanessa to come back, he did himself a favor.

According to California attorney Andrew L. Botros, if the couple would have officially parted ways, it would have cost Kobe something around $1.36 M a month, says NecoleBitchie.com.

Due to Cali’s strict divorce laws, Kobe would have to write a check for child support for two little girls and spousal support indefinitely because their marriage was considered a long-term union upon reaching 10 years. He’d also have to split all of their properties.

Child support alone would be somewhere around $365,000, and spousal support would be about $1million – a MONTH.

Yikes.

Good for him, he and Vanessa have kept it together and they’re keeping the money under one roof.