Well considering I'd be dead , doesn't really matter does it . Whoever is arranging it ...will be the one dealing with that.
But I would question why someone would come to my funeral,if they didn't like me & vice versa. But then it's a funeral...and people are there to pay their respects

. So you could argue... as long as they behave themselves,and don't cause trouble then so on.
It's not exactly the same as having a guest list at a wedding, usually funerals... unless it's a very private small ...close family gathering,is usually open to most people to attend anyway

.