The comic book is still ongoing, and the tv show isn’t a direct copy of the comic. For instance, in the comic Carl is still alive, Rick lost a hand and hooked up with Andrea like his does with Michonne on tv, and there never was a Daryl. But it does follow the general history of events, like the Governor and Negan.
My guess is that Rick won’t die but will leave to community, like Morgan did. The creators have said they have a 10 year plan for the series which may include movies, so Rick could return.