Yes — a degree from a recognized university, including through distance or open education, is valid for most government job exams.
The key condition is that the university must be recognized by the UGC.
Some recruitments specifically ask for a regular-mode degree, so read the notification carefully.
Keep your degree certificate and mark sheets ready for document verification.