M2_1 and M2_2 are likely just the labelling for which slot on the motherboard is which.
Drives are not distinguished between with that kind of labelling. Drives are either NVMe/PCIe or SATA...and can different in lengths.
For example, on a Ryzen board, one slot is direct to the CPU and is PCIe Gen3 x4 (=M2_1).
The second slot is to the chipset, typically can accommodate PCIe Gen2 x4 speeds OR a SATA-based drive (and would be labelled M2_2).