Filing Status Quest

Massachusetts resident.  I have been legally separated for all of 2019.  Can I file as single even though divorce wasn't finalized until the end of January 2020?