There isn't a set time. The volunteer work can be a short activity that lasts only a couple of hours, such as a beach cleanup. It can last for a couple of weeks in a special project. Or it can even be a recurrent activity that lasts many years, in case you find a cause that you love that much.