Unfortunately, students will not have access to courses from previous semesters. If you need access to materials from a previous semester, you will have to contact the instructor of the course at the time and directly request copies of the materials from them.
As a general rule of thumb, it is a good idea to keep more than one copy of your coursework and assignments in case you may need the material after the semester ends for future reference.