I’m going to make things easy for myself by taking the case $k=1$ only.
The zeros of the denominator are at $n\pi i$ for $n\ne0$, and instead of trying to expand the original function in the neighborhood of $n\pi i$, in powers of $z-n\pi i$, I’ll get that expansion at zero by looking at the expansion around zero of $f(z-n\pi i)$.
We have
\begin{align}
f(z-n\pi i)&=\frac{z-n\pi i}{\sinh(z-n\pi i)}\\
&=\frac{z-n\pi i}{(-1)^n\sinh z}
=\frac{(-1)^nz}{\sinh z}+\frac{(-1)^{n+1}n\pi i}{\sinh z}\,.
\end{align}
Now, the $z/\sinh z$-part has no contribution to the residue, so we can forget that. However, the residue of $1/\sinh z$ is easily determined, since $(1+x^2/6+x^4/120+\cdots)^{-1}$ is a series that starts out in the shape $1 - x^2/6 + 7x^4/360-\cdots$, as you can easily check by long division of power series. (It’s just like long division of polynomials, but you write the terms in ascending order of degree instead of descending.) Actually, of course you only need to know that the series starts out with constant term $1$, because then you see that $1/\sinh z$ has Laurent series $z^{-1}-z/6+\cdots$, and it’s that $z^{-1}$ term that makes the only contribution to the residue.
I think you can do the rest.