Glad to see you here, carmen5.
It's my pleasure to help you on how you can access the report and archive the departments in QuickBooks Online.
Yes, you can archive the departments and still be able to access the prior year's report.
See screenshots below.
If I can be of help while working in QuickBooks, feel free to let me know by adding a Reply below.