I would definitely continue to use bitcoin if it became illegal in my country. Honestly I would probably use it more.
I think now, even in some countries bitcoin has been banned for use but you could see the deployment of bitcoin is still ongoing and it does not give a great effect on the bitcoin. although bitcoin illegal though but if bitcoin still has a price