HC-12 and Arduino Nano

#include <SoftwareSerial.h>

SoftwareSerial mySerial(2, 3); // RX, TX

Are pins 2 and 3 fixed using this library, or can any digital pin combination be used?

Thanks

(deleted)

Many thanks. I was wondering why all the examples for HC-12 and Arduino all showed pins 2 and 3. Regards