Depending on the local laws of the country you are visiting it may not be required by law, however, you should look to wear a high quality, well ventilated bike helmet all the time when bike touring.