It depends.

That being said, codes can be different place to place, but as a general rule, you will need a working kitchen sink, and at least one working bathroom in order to get your CoO. A lot of times you will also need to have a certain amount of outside concrete work done, stoops, patios, wood decks, etc. Non finished electrical boxes will need to be capped off. If you plan on moving into a partially finished house, make sure you don't take a construction loan for the project. Banks don't like that. Also, don't move to New Jersey if you don't want to overpay for everything and have code headaches out the yin yang.