My spa is old (32 years) but the slice valves have never really sealed well. In fact, I've replaced the "innards" by removing the four screws and slipping in parts from a new slice valve, helped some. So I wouldn't count on such valves to do a great valve keeping things dry for you during your repair.
When I plumbed the lines to an external filter, I installed ball valves to isolate that for filter cleaning/replacement.