yes you can have ports on different sides of the box, it will effect the output somewhat, but probably not enough to notice.
I still don't know what you're talking about "i need 12inches of port could i have 2 6" long ports on each side of the box"
if you're saying you need a 12inch LONG port, then no, you can't use a 6inch LONG port on each side of the box.