**Kaplan-Meier Survival - Questions about options


I am wondering if you guys can help me out with Kaplan-Meier Survival graphs.

-My research:
looking at HCV RNA levels before getting surgery X and looking at their (1) overall survival (2) recurrence-free survival

I divided HCV RNA into 2 groups: group 1 and 2

I have the overall survival + recurrence-free survival in months

I also have a list where a patient is dead or alive.

-My question is:
How do I input this into SPSS Kaplan-Meier?

-What I did:
Time = overall survival
Status = group 1 or group 2 (i.e. HCV RNA level divided into 2 groups)
Factor = alive or dead (written as 1 or 0)

could someone please comment on what I did? Thanks so much!