Making a false claim on a resume, even if not caught for years, has, in the last few years, gotten a senior MIT administrator and a company CEO fired.
The federal government sometimes checks items that are 20 years old on your resume.
Using an unaccredited PhD got some Ryerson University faculty in public trouble.
Don't even mislead or be ambiguous. If I read a resume that says, "attended Miskatonic", I assume 2 things. 1) The writer didn't graduate. 2) He wants me to think that he did.
Do not say that you attended Harvard if you went only to the Summer School.
Know your market. Some places value the degree quality and some do not. In the latter case, WGU or Excelsior are fine.
CS accreditation is optional and sets only a very low bar. MIT was not accredited until relatively recently. Accreditation is a hassle and everyone already knew that they were good.
Engineering accreditation is not optional. Stanford was threatened with losing their EE accreditation if they made a proposed change that probably would have been an improvement.