As a Ph.D. student, should I spend time reviewing papers?
An important part of an academic career/CV is service. Reviewing, editing, hosting conferences, ... falls under this category. So yes, it is important.

You seem to consider it to be a potential waste of your precious time. This is false. Depending on your field, reviewers have earlier access to new work than others which is always beneficial.