Where do I get a dwelling from?

Dwellings can be bought or built from the "Local Dwellings" section in any Country. You obtain the rank of Shinigami before you can build a Cityhouse. Castles can be built or bought in special places once you achieve the rank of Taicho.