You need to form a squadron from the social menu (
), or join a squadron of your friends. A simple Live party will not suffice. You can have friends from other systems in the squadron as well and it will still count. You can invite people using their EA ID.
Win a match, which doesn't need to be ranked, with your squad and the achievement is yours.