Not a first.
For example, O’Connor announced her retirement on July 1, but noted that it wouldn’t be effective until the nomination and confirmation of a successor.
Alito thus joined the Court mid-term.
That’s not quite the same thing. The President actually received a letter of resignation. As far as I could tell this was just rumor mill.