Influence ofp-shell nuclei structure on the formation of hypernuclear resonances