Export .nc file for a CNC2-5040 with a GRBL1.1 2-axis control board

No it doesn’t.

here is Lightburn code
"
; LightBurn 0.9.14
; GRBL device profile, absolute coords
; Bounds: X11 Y9 to X48 Y41
G00 G17 G40 G21 G54
G90
M4
; Cut @ 20 mm/sec, 100% power
M8
G0 X11 Y9
G1 Y41 S1000 F1200
G1 X48
G1 Y9
G1 X11
M9
G1 S0
M5
G90
; return to user-defined finish pos
G0 X0 Y0
M2
"

LaserGRBL code (it works fine)
"M5
G0X8.09Y-81.96
M3 S1000
G1X45.09F200
Y-113.96
X8.09
Y-81.96
M5 "