2002 subaru impreza outback sport doorlock

is it absolutely necessary to remove the inside door panel in order to extract a broken key from the door lock?

Not enough information.

Please provide more.

No, locksmiths have a pick with a barb on it that will often but not always remove the piece of key.