Is there a way to set a filter that would move email from the inbox to another folder after so many days?

Thanks