Really, the "lengths" you have chosen should represent positions (i.e. coordinates) in whatever space you're working in. The force integral is an integral over a path, with start and end points which become the limits of the integral. For a non-conservative force field, the integral will depend on the path chosen, so that too goes along with that integral. For this integral, you can call the start and end points whatever you like, including $l_1$ and $l_2$. At each point along this path, conceptually you are calculating the dot product of the force (field) at that point with the (differential) direction vector, and then adding them. $F$ depends in general on position, and so will $dl$.
The work integral is easier to understand if you think of it as $\Delta W$, that is the change in work done, relative to some zero that you're pretty much free to choose. Energies only really care about differences, not absolutes, so some reference energy is usually chosen as 0. With the $\Delta W$ conception you don't then have to worry about the start and end energies in any absolute terms, just the difference or change that it makes.
For the left hand integral, you can regard it as a simple integral of 1 with respect to $W$ from $W_i$ to $W_f$, i.e. $\int^{W_f}_{W_i}dW=W_f−W_i=\Delta W$, and this last equality is what we mean when we say $\Delta W$, the change from initial to final value.
Overall then we have the change in work done by the force when it moves from point $l_1$ to point $l_2$.