I was married in may 2016 and divorced jan 12th 2017. can i file as single?

i petitioned for divorce in dec 2016 and we were living in separate households.