Hello Chris,
You can delete users based on logged-in date by going to the Bulk Delete users page available in the Bulk WP -> Bulk Delete Users menu.
You can use the ‘Delete By User Role’ module and then select the user role and other values for the filter.
But please note that the major requirement for deleting users by logged-in date is that you have the free Simple Login Log plugin active in the site for the duration that you want to delete the users for (in your case 2 years).
This is because WordPress has no built-in way to record when the user last logged-in and my plugin uses the data captured by Simple Login Log plugin to do that.