Yes. If you have completed your coursework, you may cancel your membership before your final assignment(s) are graded and a final grade is posted to your course.
If you need to resubmit an assignment based on feedback or do not pass the course and wish to retake it, you will need to renew your membership to regain access.