No, absolutely not. This condition cannot be attached to receiving absolution.
Catholics do not get to make this choice. We are bound by the laws of the place where we live. The only exceptions are laws contrary to natural law or divine law. However, a priest cannot say he will only grant you absolution of your sins if you confess a crime to the police.
For example, if you stole an expensive item from a shop because you wanted it you commit theft and being a Catholic does not excuse you from the laws on theft. If you are caught you could be charged, tried, convicted and imprisoned. But, if you confess your sin to a priest he cannot say I will only grant you absolution if you return the item to the shop or pay for it, and hand yourself in to the police. Of course, making restitution would be the right thing to do, but it is not a condition for absolution.