you would need to store the expiration date in a column of the users table.
you would also want to edit the login behavior to store that date in a session variable.
Create an access rule that compares the expiration date against the current date using the php date() function to ensure that today is before the expiration date.