There is no such clause in the US constitution.
It may not be smart politics but it ain’t unconstitutional.
Article II states: “The electors shall meet in their respective states, and vote by ballot for two persons, of whom one at least shall not be an inhabitant of the same state with themselves.”