Unfortunately, those with Workspace Essentials, Business Starter, or Education Fundamentals accounts as well as those with a Teaching and Learning Upgrade plan, anyone using Frontline or even G Suite Legacy or personal, free Google Accounts will not be able to use the file expiry feature until otherwise noted.

Source: You can now share Google Drive files temporarily thanks to a new expiration date feature

I hope this becomes free soon. I’ve done something similar with Google Apps Script.