Habeas corpus proceedings may be brought in the parish in which the defendant is domiciled or the parish in which the person detained is in custody.