Twelve people were arrested in connection with squatting inside a Costa Mesa home and other charges including having drugs and drug paraphernalia inside, authorities said.