A federal judge in Baltimore dismissed two of three charges yesterday against an Andrews Air Force enlisted man accused of hiding a bomb in his wife's suitcase before she boarded a flight at National Airport, ruling that the charges should have been filed in Virginia.

U.S. District Judge Shirley Jones said in a memorandum that the charges against Martin T. Bradley should not be brought in Maryland because National is in Virginia. Federal prosecutors argued that because the bomb allegedly was placed in the suitcases at Andrews, the two charges, relating to causing a bomb to be aboard an airplane, should continue in the federal court in Baltimore.

Prosecutors said they will work to have the decision reversed and will decide what to do about the remaining charge--transporting an explosive device in interstate commerce--at a hearing tomorrow before Judge Jones. Prosecutors said the dismissed counts could still be brought against Bradley in Virginia.

Bradley, 27, who lives in Morningside, was indicted by a federal grand jury in March after a bomb in the suitcase of his wife, Air Force Staff Sgt. Mary Jo Bradley, passed undetected through National and Dallas-Fort Worth airports, while she was on the way to Sheppard Air Force Base in Wichita Falls, Tex., for a training course.

Mrs. Bradley discovered the bomb when she opened her luggage after safely reaching her destination. The suitcase apparently passed through as checked luggage that Federal Aviation Administration spokesmen said is not usually checked with X-rays.