Yes, in case if you need to have the shipment number the same as the order number but configure the invoice number independently, you should choose the following settings in System > Configuration > Custom Order Number:
See more details on Custom Order Number page
Login and Registration Form