I'm a little puzzled, Arthur. The CNI is needed before you are able to marry in Phils. The spouse visa application cannot be submitted until the wedding has taken place (you will need to submit your marriage certificate). I fear that you will have to make two visits to Davao, and since it usually takes the best part of four weeks for the 'official' NSO copy of the marriage certificate to be available, you will not be able to accomplish both tasks within one three week visit.