This would be beneficial from the perspective of Global Warming on Planet Earth.
But, will it be technically and financially viable?
Interesting concept. As others have stated above, it is possibly not feasible as of yet. But, in future...
1. When 1
BTC = 1 Million USD or higher, Rocket companies will probably charge in Bitcoin Blocks to place Miner Payloads in the Space/Moon. In fact, for Government backed Mining, Government Space Agencies may charge much less for Government subsidy due to this operation being Environment friendly.
2. If substantial Hash power is parked at the Moon, even 30 second latency might not be much of a downside for 10 minutes block time. If orphaned, Moon miners may still keep building on that chain and eventually outperform Earth miners.
3. When human starts habitat at the Mars, there'll be need of Intergalactic Medium of Exchange. Miners, placed on the Space/Moon, may play a crucial role at that point. Having no/little atmosphere and very low temperature will probably benefit the mining operation.