Virginia form 770 - how to indicate part-year resident status (moved mid-year)

I am filling out Virginia form 770 for a trust's final return.  I moved away from Virginia in July 2022.  Is there a place to indicate that on this form, or is a different form required, or does it make no difference?  Thanks.