Normally I would just slip the wheel round by hand or tip the bike over on the sidestand so the rear wheel can freewheel. I know neither is considered good practice but works OK or use a supermarket/IKEA car park for maintenance? We changed all 4 shocks in a supermarket carpark once when didn't have anywhere to work.