Absolutely not, unless the degree is issued by a university that is ALSO a regular, regionally accredited brick-and-mortar institution.
Many so-called “online degrees” are offered by for-profit businesses masquerading as universities. (University of Phoenix and AIU come to mind, but there are many others.)
Many REAL colleges and universities offer distance learning programs, and these degrees are considered to be equivalent to the degrees offered via on campus study.

Related posts:

  1. Online College Degree Is As Good As Regular College?
  2. What Online College Do You Recommend For Me To Get My Lpn Degree?
  3. Are Online College Degrees Looked Down Upon?