It is my understanding that McCain needs to survive until the end of May, at which time the AZ Republican Governor Ducey will be able to appoint a replacement for two years. Otherwise, the seat will be up for election come November.
25 days then. Someone else posted like the the 27th. So whatever the correct length of time, I hope he makes it. 8>)