The legality of bitcoin depends on who you are, and what youre doing with it.
There are three main categories of bitcoin stakeholder. Someone may fall under more than one of these categories, and each category has its own legal considerations.
If your country accept so you can surely say that bitcoin is legal but just only to your country! If one country don't accept it you surely say that it's illegal!