Then Google employees would start getting arrested, and whatever would be left of Google in the country would comply anyway, achieving nothing but the imprisonment of more people. Google Russia's employees don't have diplomatic immunity.
The most profitable choice for them is to stay in Russia and obey the government. They have no reason to leave or risk getting the same treatment as Google by disobeying.