The U.S. must be assertive in negotiating the release of its citizens when they have been wrongfully detained overseas — passing this resolution would show the intent of the U.S. government to accomplish that.
It seems unlikely that Iran will release these prisoners simply because Congress passed a resolution. They are going to play hardball, look for other concessions, and using prisoners in the nuclear talks could kill negotiations.