The rapper will serve the rest of his two-year prison sentence from the comfort of his own home, TMZ reports.