Yes. There is no requirement for you to retain ownership of the stock after the class period has expired to participate in the lawsuit.