If you are in a state or area that allows gambling, then it is ok. But if you are in a jurisdiction that does not allow gambling, you would be breaking the law by using those websites.
The Feds have already cracked down on some "offshore" gambling websites but like porno sites, new ones keep popping up all the time.