It depends on the aircraft, weather, and your location. When I pick up clearance in a piston, from an untowered field, and conditions are VMC, I usually pick it up in the air, even in busy airspace. IMC, obviously on the ground, with approach/departure if there is no dedicated clearance...