I was divorced on 9/4/20 and then married on 10/23/20 to a new spouse. What status should I be filing with which spouse for my 2020 tax return?

I was under the impression that if we were married for more than 6 months in 2020 that we had to file jointly for the 2020 tax year.