There is nothing illegal about being a digital nomad as long as you follow the rules of the country you’re visiting and your home country. Make sure your Visa has not expired and you are paying the appropriate taxes to your home country and the country you’re visiting.