Your location is detectable because your phone has a transmitter inside. Unless it is free to operate, it will not transmit, and your location cannot be calculated. It requires power to operate. (For the optimists out there, it also requires not being in airplane-mode to operate.) It requires being in "free-space" to operate.
You are therefore free to decide when, and when not, you wish your location to be known. Perhaps you know someone who can install a power-off switch in the phone (or convert the ringer switch to one). Or perhaps you have a phone which lets you remove the battery, or know someone who can modify the phone so that the battery can be removed. Or perhaps you wish to carry the phone in a Faraday-cage-style bag or can.
There are options. Of course you'll have to be willing to give up some convenience. They are hoping you'll not be.