No, the strut with spring will stay fully assembled while you change the topmount.
With luck, you may be able to lower it still connected to the wishbone, enough to get it out.
With luck, you may be able to lower it still connected to the wishbone, enough to get it out.