Was the divorce necessary to include in Bob's story?
To develop the character beyond a flat depiction and allude to personality and motivations, perhaps.
It's part of a concise character sketch. At least for me, it helped understand Bob.
I guess not any more necessary than owing a Porsche or being named Bob or any other element of the story?
From this element I inferred that Bob really needs the business to keep going. Otherwise, being a "millionaire" and having run a successful small business for decades, he might well have no mortgage and be able to ride out a retirement on the fumes and savings. With a divorce, he might need to keep the income rolling in for some time yet.