
The "Jackass" star blames the "4-day bender" on marital problems, telling us "I may get a divorce ... booze helps."
TMZ also spoke to Bam's mother -- who told us Bam's wife Missy called 911 because she was worried about his health after learning that he popped an Ambien during the drinking bender.
Margera says his kidney and leg muscles were a mess from not eating or drinking enough water -- but the hospital flushed out his system and he was released to his home after speaking to a psychiatrist.
Now, Bam claims he's in good health and he even sent us this photo -- taken after he was released from the hospital -- to prove it.