Help

Long story short. I came at this country illegally I got cough on the border applied for asylum, then got work permit few years later I got married to a usa citizen, we followed the process i130 etc 601a etc .finally I got my interview in el Salvador for Feb 18 ! so I had to travel to el Salvador. But lawyer said that we need to close my pending asylum case before I travel to el Salvador? Any advice