Possibly not. Buying yourself out of employment and commercial rental contracts can give rise to costs.
In the UK, statutory redundancy pay, after 2 years of service, is 1 week of pay per year of service and 1.5 weeks if you're over 41.
For a long duration commercial lease it might be worth paying to break the contract rather than the running costs for an unused building.
These are probably short-term costs, with longer term savings projected from the reduction in headcount and premises.