How often does cpr work to revive someone from cardiac arrest?

It depends. With the exception of hypothermia (cold exposure) and certain drowning situations, CPR is successful in less than 25% of cases.
5% CPR alone is not the answer depends on underlying medical condition - generally babies and younger population do better.