No I would definitely quit on it,
Why would I continue gambli g if I could get arrested because of it,
And also why would I continue to gambling if it is illegal and it is just a risky way to earn a money,
I think it could be a good reason to quit first you would save some money because you couldn't gamble then that money could help your family.
Once it's declared illegal you are just being dumb enough if you will still gamble, when you are gambling there is no guarantee that you will win but it's guaranteed that you will go to jail if you ever get caught. Not all illegal are tempting especially if you are open enough to understand the consequences.
There are people who still do things even if it's illegal because they benefited from it, just like those who are selling illegal drugs, they make money from it and when it comes to gambling, only the operators will also reap the benefits as they will surely win and they can rigged their casino to make more money.