The two were found guilty after murdering the officers last year.
Monwabisi Molefe and Anele Liwani each received life terms, while their accomplices Anele Thala and Thando Mdokwana were each handed five-year sentences.
Thala and Mdokwana were convicted of robbery with aggravating circumstances.