Are distance degrees from US universities worth anything?
Whether an online degree program can give you what you need depends strongly on how you want to use it.  A university degree can typically provide three key assets:


Skills: the technical foundations for professional success, particularly in STEM fields like computer science.
Network: connections with fellow students in your cohort are an excellent way to bootstrap one's professional network.
Prestige: the reputation of a school for achievements in its graduates, typically closely tied to skills and network.


An good online degree program can provide you with valuable skills, but is unlikely to give you much network and is definitely lower in prestige, even for the best programs (though these are slowly gaining in respectability).  If that is enough for your goals, then an online degree program can definitely provide it---and the better US distance learning programs are often explicitly intended to serve people in situations like yours.

It is important, however, to make certain that you pick a good, accredited program, or else your degree certainly will be worthless.  Many rather nasty for-profit organizations have gotten into online education and are essentially ripping off their students.  There are some good guides online to help you figure out the difference, however, such as this one.