That is totally irrelevant to the point of your question.
This makes her a single mother by anyones definition, whether or not the legal niceties of a divorce were observed immediately.
That has been firmly established to have occurred when Barry was 18 months old.
Michelle Obama is playing fast and loose with the timelime by saying when she had him, of course.
That is entirely an assumption on your part.
I might note that she wasn't present and therefore has no personal knowledge of the truth of what she was saying.
She's married to the slug. That puts her in a better position to know what he says is the case than almost anyone else could be.
Remember the popular leftist meme May the Mother of Jesus was a single mother. Not true, but they will try to get away with the slander.
If you want to compare Barry's life with Jesus' life, knock yourself out. I guess you aren't the first one.
As for the legend, once you call something a legend you pretty much are saying, hey, I have no idea whether this is true or not.
Obviously you didn't read the rest of the info at the link. It was made clear there and in the article posted for this thread that many competing stories are circulating to the point that nothing certain can be said about when and where Barry was born, to whom exactly and by what father. Nor is Stanley Ann Dunham's marriage to Barack Obama Sr. certain in date or fact.
The one thing that is consistent in all of those stories is that she was pregnant before she was married. That isn't in question and answers your question.
Jesus, Bill Clinton, and Barack Hussein Obama, Jr. all share a key point.
That is, that there is much discussion, learned and otherwise, on the exact nature of their paternity.
This has enabled Billy and Barack to subliminally compare their mothers to The Blessèd Mother and attempt to claim a place in The Trinity. All that is missing is St. Joseph and any record of good deeds.
In Barack's case, the compliant Hawaiian Authorities may be attempting to fill that gap, and the records will miraculously appear when they are forced to obey their own laws and release documentation.
By that time, BHO, Jr. will be a grandfather working as a Community Organizer in the slums of Nairobi