In the UK, for the most serious (indictable-only) crimes, then no. But you can ask the judge to end the trial after the prosecution case if no reasonable jury could convict, including if as a matter of law no crime has been committed.
The DAO was created with the intention to allocate its funds according to a certain voting scheme, with everyone's power determined by the number of tokens they held. But the program did not correctly implement this intention, and the DAO hack exploited the difference to bring the funds under control of the attacker. This most likely violated the Computer Fraud and Abuse Act, and was thus illegal.
Without getting too abstract, even traffic lights or zebras, from the perspective of a pedesetrian, (as an example of a simple system) would be a horrendous and extremely time consuming experience if its rules were enforced by the letter. Imagine if you could >only< pass the road accross the zebras...
Human made systems need to be imperfect and the rules need to be flexible or the system will fail.
That doesn't mean that it is legally binding.
Even countries that don't have shared extradition treaties don't always ignore criminals within their borders, even if the criminal activity is occurring outside.