Your marital status on December 31st of the previous year will determine your tax status. If you were still married but separated, then you will still file as married.