Not if they keep Trump off the ballot. I don't think that will happen but if they somehow kept his name off the ballot, which is illegal, then the electoral votes don't count.
That makes absolutely no sense. I get that you don't like it; I don't either. You declaring it "illegal" doesn't make it so. The States (theoretically, the State Legislatures) are absolute masters of their electors. There's no federal requirement for the people of a State to vote for electors; the Legislature can simply select them if it wants to.