Finder folder selection lost after restart
On my Mac in each desktop space I have different folders open. I have 12 desktop spaces with about 40 folders open. After restarting, in each space Finder always would go back to showing those same folders. So, I used spaces to organize my work: I could change the space then find the relevant files there quickly.
Just recently when I restarted, every single folder in every single space now shows either the top level of my Mac (showing on Macintosh HD and Network volumes) or my home folder. In each space there are the intended Finder windows for each folder that I want to see, but the chosen folder is not displayed. All my organization is lost.
Why did Finder not re-display any of the folders that it was displaying before I restarted? Is there a preference file that I can restore from a Time Machine backup (say from two days ago) that I can use to re-establish the desired folder layout in each space?
MacOS Monterey 12.6
iMac (Retina 5K, 27-inch, 2019)
iMac 27″, macOS 12.6