If Bitcoin mining will become illegal world wide, there will be less transaction will be made and the time of every transaction, time of confirmation will be delayed. Because most of miners are the one who process every transaction of Bitcoin mining. Let's just not hope that it will be ban, it will make a big FUD if that will happen.
If mining stops then bitcoin stops. But i don't actually see a reason for mining to be illegal unless the reason is that they see it as a threat. But what they can do is to implement regulations. But they cannot suddenly stop bitcoin. It actually also benefits the government or the economy.
For sure there is no doubt that bitcoin is very good for all of us, we are getting profit and our government is taking taxes with bitcoin, as there are a lot of people who are making income with bitcoin only, mining is full of profit if you have capital to afford mining equipments and the capital trust me you will get rich very fast and you will get profit very highly, it is not wise to ban mining because it is getting a lot of profit for miners.