State tax filing

Since you will not be living or working in RI for 2019, you file a MA resident tax return for 2019.  Your resident status is as of 12/31/2019 for Tax Year 2019.