Both the marriage and the divorce could have been made with the home country authorities, whose rules are different. So, feasible I suppose. But in all cases, doesn't really matter.
Being married for half a year, and divorcing right after PR may suggest it was a sham marriage, aka immigration...