You can still use your Discover it Student Cash Back credit card after graduation. Discover won't close the account because you graduate. Instead, they will just upgrade your Discover it Student Cash Back card into a regular Discover it Cash Back credit card.
Sure, you always have the option of cancelling the student card, but that can negatively impact your credit score.