The New York State Senate on Wednesday passed legislation to repeal a law that, as interpreted by the state's high court, requires non-resident attorneys practicing in New York to have a law office in the state.