Which distribution account is created if I've a resource cost element in my cost structure?

The resource cost element is accounted under the Resource Absorption accounting line type only for the WIP Resource Charging event type. For all other transactions, it is accounted under the Material Overhead Absorption accounting line type.

You can use the Cost Element type as an additional accounting source if you want to differentiate your absorption type between resource and overheads for other event types.