No. The name on the W-2 and the name on the tax return do not have to match. Only the Social Security numbers have to be the same.