If you don’t have a lot of relevant work experience, it can be a good idea to include voluntary roles on your resume.
This is especially true if the voluntary positions are relevant to the job you are applying for.