I did something similar about 15 years ago. I worked in a small remote office far from the company's headquarters. On an all-hands call one of the executives let it slip that they were going to shutter our office and close down the remote branch in 7 months. We kind of saw it coming, as 90% of the people who worked in that office had been laid off in the previous months, and we didn't really have any new work coming in or projects left to finish. They didn't just lay us off, though, so the 15 of us that were still there just got paid to go to job interviews for 6 months. It was pretty surreal, but I'm glad we got the heads up regardless.