The federal judge's decision only affects Cook County, Illinois. This ruling comes just months before same-sex couples are allowed to marry in Ill.