Yes, DigiLocker RC is valid for traffic police all across India. It is accepted as a valid proof of vehicle ownership. This means you will not get challan for showing a virtual copy of your RC. However, it must be saved on the DigiLocker app and not as a PDF document.