There's not that much over the ribs, so there wouldn't be that much depth available anyway (and, yes I know people come in different sizes, but unless it's pectoral region (front) or latissimus dorsi (back) the ribs are not that far below the skin). Where exactly is the fictional wound and how serious?
From my knowledge of receiving stitches, they use a curved needle, a bit like a fish hook without the barb, that never goes that deep. The wounded flesh underneath should bond again so long as the skin is tight. It would be different matter if there was major trauma, tearing or larger blood vessels involved. I've never actually done the stitching, though, only first aid procedures - more than once on myself.
From my knowledge of receiving stitches, they use a curved needle, a bit like a fish hook without the barb, that never goes that deep. The wounded flesh underneath should bond again so long as the skin is tight. It would be different matter if there was major trauma, tearing or larger blood vessels involved. I've never actually done the stitching, though, only first aid procedures - more than once on myself.