That cant possibly be legal.
Two U.S. Supreme Court cases say the Constitution lays out ballot qualifications and states ‘cannot’ make them more strict.
No Person except a natural born Citizen, or a Citizen of the United States, at the time of the Adoption of this Constitution, shall be eligible to the Office of President; neither shall any Person be eligible to that Office who shall not have attained to the Age of thirty-five Years, been fourteen Years a Resident within the United States, and delivered his tax returns to the Legislative.